package com.lay.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 出险调查表
 * </p>
 *
 * @author Lay
 * @since 2022-06-09
 */
public class Survey implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 调查编号，主键，唯一
     */
    @TableId(value = "sur_id", type = IdType.AUTO)
    private Integer surId;

    /**
     * 车辆编号
     */
    private String cId;

    /**
     * 事故时间
     */
    private LocalDateTime sTime;

    /**
     * 事故地点
     */
    private String sSite;

    /**
     * 当事人a
     */
    private String clientA;

    /**
     * 当事人b
     */
    private String clientB;

    /**
     * 当事人c
     */
    private String clientC;

    /**
     * 现场草图（上传图片）
     */
    private String pic;

    /**
     * 详情描述
     */
    private String sMsg;


    public Integer getSurId() {
        return surId;
    }

    public void setSurId(Integer surId) {
        this.surId = surId;
    }

    public String getcId() {
        return cId;
    }

    public void setcId(String cId) {
        this.cId = cId;
    }

    public LocalDateTime getsTime() {
        return sTime;
    }

    public void setsTime(LocalDateTime sTime) {
        this.sTime = sTime;
    }

    public String getsSite() {
        return sSite;
    }

    public void setsSite(String sSite) {
        this.sSite = sSite;
    }

    public String getClientA() {
        return clientA;
    }

    public void setClientA(String clientA) {
        this.clientA = clientA;
    }

    public String getClientB() {
        return clientB;
    }

    public void setClientB(String clientB) {
        this.clientB = clientB;
    }

    public String getClientC() {
        return clientC;
    }

    public void setClientC(String clientC) {
        this.clientC = clientC;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getsMsg() {
        return sMsg;
    }

    public void setsMsg(String sMsg) {
        this.sMsg = sMsg;
    }

    @Override
    public String toString() {
        return "Survey{" +
        "surId=" + surId +
        ", cId=" + cId +
        ", sTime=" + sTime +
        ", sSite=" + sSite +
        ", clientA=" + clientA +
        ", clientB=" + clientB +
        ", clientC=" + clientC +
        ", pic=" + pic +
        ", sMsg=" + sMsg +
        "}";
    }
}
